package com.mydroidchat.data.net;

/**
 * Created by IntelliJ IDEA.
 * User: Kadavr
 * Date: 04.01.12
 * Time: 20:32
 * To change this template use File | Settings | File Templates.
 */
public class LoginApiResponse extends ApiResponse {
    private boolean success = false;
    
    public LoginApiResponse(String completePage) {
        super(completePage);
        success = completePage.trim().equals("1");
    }

    public boolean isSuccess() {
        return success;
    }
}
